Skip to content

PYTHON-5114 Test suite reduce killAllSessions calls#2721

Merged
ShaneHarvey merged 5 commits intomongodb:masterfrom
ShaneHarvey:PYTHON-5114
Mar 9, 2026
Merged

PYTHON-5114 Test suite reduce killAllSessions calls#2721
ShaneHarvey merged 5 commits intomongodb:masterfrom
ShaneHarvey:PYTHON-5114

Conversation

@ShaneHarvey
Copy link
Copy Markdown
Contributor

@ShaneHarvey ShaneHarvey commented Mar 5, 2026

[PYTHON-5114]: Test suite reduce killAllSessions calls

Changes in this PR

Update the unified test runner to only run killAllSessions after tests that use transactions rather than before every single test. This provides 2 main benefits:

  • less noise in the mongod/s log files which helps when debugging
  • reduces the test suite by over 1 minute on sharded clusters (patch 16m16s vs 17m28s)

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants